
{%if page == 1 & page == pages%}
<nav aria-label="...">
    <ul class="pager">
        <li class="previous disabled"><a href="/admin/{{path}}?page={{page-1}}"><span aria-hidden="true">&larr;</span> 上一页</a></li>
        <li>当前一共有 {{count}} 条数据，每页显示 {{limit}} 条数据，一共 {{pages}} 页，当前第 {{page}} 页</li>
        <li class="next disabled"><a href="/admin/{{path}}?page={{page+1}}">下一页 <span aria-hidden="true">&rarr;</span></a></li>
    </ul>
</nav>
{%elseif page == 1%}
<nav aria-label="...">
    <ul class="pager">
        <li class="previous disabled"><a href="/admin/{{path}}?page={{page-1}}"><span aria-hidden="true">&larr;</span> 上一页</a></li>
        <li>当前一共有 {{count}} 条数据，每页显示 {{limit}} 条数据，一共 {{pages}} 页，当前第 {{page}} 页</li>
        <li class="next"><a href="/admin/{{path}}?page={{page+1}}">下一页 <span aria-hidden="true">&rarr;</span></a></li>
    </ul>
</nav>
{%elseif page == pages%}
<nav aria-label="...">
    <ul class="pager">
        <li class="previous"><a href="/admin/{{path}}?page={{page-1}}"><span aria-hidden="true">&larr;</span> 上一页</a></li>
        <li>当前一共有 {{count}} 条数据，每页显示 {{limit}} 条数据，一共 {{pages}} 页，当前第 {{page}} 页</li>
        <li class="next disabled"><a href="/admin/{{path}}?page={{page+1}}">下一页 <span aria-hidden="true">&rarr;</span></a></li>
    </ul>
</nav>
{%else%}
<nav aria-label="...">
    <ul class="pager">
        <li class="previous"><a href="/admin/{{path}}?page={{page-1}}"><span aria-hidden="true">&larr;</span> 上一页</a></li>
        <li>当前一共有 {{count}} 条数据，每页显示 {{limit}} 条数据，一共 {{pages}} 页，当前第 {{page}} 页</li>
        <li class="next"><a href="/admin/{{path}}?page={{page+1}}">下一页 <span aria-hidden="true">&rarr;</span></a></li>
    </ul>
</nav>
{%endif%}